<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title></title>
<title>美美说</title>
<link rel="stylesheet" type="text/css" href="./Public/Home/css/font.css"/>
<link rel="stylesheet" type="text/css" href="./Public/Home/css/mycss.css"/>	
<link rel="stylesheet" type="text/css" href="./Public/Home/css/cata.css"/>
<script src="./Public/Home/js/jquery.min.js"></script>
<script src="./Public/Home/js/cata.js" type="text/javascript" charset="utf-8"></script>
<style type="text/css">
	.items .select{
		color: #f46;
	}
</style>
</head>
<body>
	<div id="header">
		<div class="center">
			<ul>
				<li><a href="http://localhost/MyShop/index.php?m=Home&c=User&a=login"><i class="iconfont" style="color: rgb(132,195,91);">&#xe607;</i> 微信登录</a></li>
				<li><a href="http://localhost/MyShop/index.php?m=Home&c=User&a=login"><i class="iconfont" style="color: rgb(132,195,91);">&#xe601;</i> QQ登录</a></li>
				
				<li><a href="http://localhost/MyShop/index.php?m=Home&c=User&a=login">登录</a></li>
				<li><a href="http://localhost/MyShop/index.php?m=Home&c=User&a=reg">注册</a></li>
				<li><a href=""><i class="iconfont" style="color: rgb(255,102,153);">&#xe604;</i> 我的购物车</a></li>
				<li><a href=""><i class="iconfont" style="color:#666">&#xe602;</i> 我的订单</a></li>
				<li><a href=""><i class="iconfont" style="color:#666">&#xe609;</i> 下载APP</a></li>
				<li><a href="">帮助中心</a></li>
				
			</ul>
			
		</div>	
	</div>
	
	<div id="header_1">
		<div class="center">
			<a class="logo" href="http://localhost/MyShop/index.php?m=Home&c=Index&a=index"><img src="./Public/Home/images/logo.png"/></a>
			<div class="search">
				<div class="search_tab"><span class="check">宝贝</span><span>店铺</span></div>
				<form action="" method="post">
					<input type="text" id="keyword" placeholder="搜流行宝贝" value="" />
					<input type="submit" class="submit" value=""/>
				</form>
				<p>
					<a href="" class="red_f">连衣裙</a>
					<a href="">拖鞋</a>
					<a href="" class="red_f">短裤</a>
					<a href="">套装</a>
					<a href="">泳衣</a>
					<a href="" class="red_f">长裙</a>
					<a href="">睡衣</a>
					<a href="">凉鞋</a>
					<a href="" class="red_f">双肩包</a>
					<a href="">帽子</a>													
				</p>
			</div>
		</div>
	</div>
	<div id="nav">
		<div class="center">
			<ul>
								<li ><a href="" >首页</a></li>
								<li                 class="active"
               ><a href="http://localhost/MyShop/index.php?m=Home&c=Cate&a=index&cid=1">新潮上衣</a></li>
								<li ><a href="http://localhost/MyShop/index.php?m=Home&c=Cate&a=index&cid=2">时尚裙子</a></li>
								<li ><a href="http://localhost/MyShop/index.php?m=Home&c=Cate&a=index&cid=16">精美包包</a></li>
								<li ><a href="http://localhost/MyShop/index.php?m=Home&c=Cate&a=index&cid=17">精品配饰</a></li>
								<li ><a href="http://localhost/MyShop/index.php?m=Home&c=Cate&a=index&cid=18">美妆护理</a></li>
								<li><span>|</span></li>
				<li><a class="rred" href="">Hi范儿</a></li>
				<li><a class="rred" href="">品牌特卖</a></li>			       
				
			</ul>
		</div>
	</div>
	<!--类目筛选-->
	<div class="filter_wrap">
    <!--面包屑-->
	    <div class="bread_crumbs">
	        <span class="cata_text">所有分类</span>
	        <samp class="corner">&gt;</samp>
	        <span class="g_total"> 共<?php echo count($goods)?>件</span>
	    </div>
	    <!--筛选器-->
	    <div class="group_box">
	        <div class="inner_box">
	        	<?php foreach ($finalAttr as $k=>$v){?>
	        	<?php
                    $temp = $param;
                    $temp[$k] = 0;
                ?>
	            <div class="row">
	                <div class="left_cate"><?php echo $v['name']?>：</div>
	                <div class="center_content">
	                    <div class="items_wraper">
	                        <div class="items" data-key="fl_mt_firstcataid">
	                        	 <a href="<?php echo U('index',['cid'=>$_GET['cid'],'param'=>implode('_',$temp)])?>" <?php if($param[$k]==0){?>
                class="select"
               <?php }?>>
	                               <!-- <span class="icon_filter"></span>-->
	                                <span>不限</span>
	                            </a>
	                             <?php foreach ($v['value'] as $value){?>
	                              <?php
		                                $temp[$k] = $value['gtid'];
		                          ?>
	                             <a href="<?php echo U('index',['cid'=>$_GET['cid'],'param'=>implode('_',$temp)])?>" <?php if($value['gtid']==$param[$k]){?>
                class="select"
               <?php }?>>
	                                <span><?php echo $value['gtvalue']?></span>
	                            </a>
		                       
		                        <?php }?>
	                            
	                        </div>
	                    </div>
	                    
	                </div>
	               
	            </div>
	            <?php }?>
	        </div>
	    </div>
	    <!-- 排序-->
	    <div class="sort_box">
	        <div class="bytype">
	            <ul>
	                <li><a class="theme first curr" href="">流行</a></li>
	                <li><a class="theme" href="">热销</a></li>
	                <li><a class="theme" href="">上新</a></li>
	                <li class="laypr">
	                    <div class="trigger_link">
	                        <span>价格</span>
	                        <i class="arrow_down"></i>
	                    </div>
	                    <ul class="pricesort">
	                        <li><a href="">价格从低到高</a></li>
	                        <li><a href="">价格从高到低</a></li>
	                    </ul>
	                </li>
	            </ul>
	        </div>
	        <div class="byprice">
	            <input class="start input" placeholder="¥" type="text" value="">
	            <span class="wavemark">~</span>
	            <input class="end input" placeholder="¥" type="text" value="">
	            <a href="" class="p_submit">确认</a>
	        </div>
	        
	    </div>
	    <!--end排序-->
	</div>
	<!--end类目筛选-->
	<!--类目图片展示-->
	
	
	<!--end类目图片展示-->
	<div class="jingxuan">
	
	<div class="cont">
		<?php foreach ($goods as $v){?>
	   	<div class="item"> 
		    <div class="pic"> 
		   		<a target="_blank" href="<?php echo U('Goods/detail',array('gid'=>$v['gid']))?>"><img src="<?php echo $v['pic']?>" /></a> 
		    </div> 
		    <div class="desc"> 
			    <div> 
				    <span class="price">￥<?php echo $v['shopprice']?></span> 
				    <span class="like" style="background: none;">销量534</span> 
			    </div> 
			    <div class="tit"> 
			    	<a target="_blank" href="<?php echo U('Goods/detail',array('gid'=>$v['gid']))?>"><?php echo $v['gname']?></a> 
			    </div> 
		    </div>
		</div>
		<?php }?>
		
		
	</div>
</div>
<!--end为你精选--> 
<div style="clear: both;"></div>
<div id="foot">
	<div class="center">
		<div class="record">
			Copyright ©2016 Meilishuo.com  经营性网站备案信息  &nbsp; 京ICP备11031139号  &nbsp; 客服电话：4000-800-577  &nbsp; 文明办网文明上网举报电话：010-82615762
		</div>
	</div>
</div>
</body>
</html>
